package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;


/**
 * Description：SpringBoot原生启动类，作为单个任务来执行任务
 *
 *  调度命令：java -jar task-scheduler-demo-0.0.1-SNAPSHOT.jar
 *
 * Author；JinHuatao
 * Date: 2021/12/16 11:42
 */
@ComponentScan("com.example")
@SpringBootApplication
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }

}
